﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title></title>
    <link href="images/csstg.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="content">
        <div id="textcontent" style="width: 1000px; height: 800px;">
            <div class="flow4">
                <a href="Index"> 返回登录页</a>
                <span style=""> </span><strong>当前用户：</strong>
                <span style="color: Red;">@Html.Raw(ViewBag.userName)</span>
            </div>
            <script type="text/javascript">
	                //保存页面
	                function Save() {
	                    document.getElementById("PageOfficeCtrl1").WebSave();
	                }

	                //领导圈阅签字
	                function StartHandDraw() {
	                    document.getElementById("PageOfficeCtrl1").HandDraw.Start();
	                }

	                /*
	                //分层显示手写批注
	                function ShowHandDrawDispBar() {
	                    document.getElementById("PageOfficeCtrl1").HandDraw.ShowLayerBar(); ;
	                }*/

	                //全屏/还原
	                function IsFullScreen() {
	                    document.getElementById("PageOfficeCtrl1").FullScreen = !document.getElementById("PageOfficeCtrl1").FullScreen;
	                }

	                //显示/隐藏用户的手写批注
	                function ShowByUserName() {
	                    var userName = "@Html.Raw(ViewBag.userName)"; //从后台获取登录用户名
	                    document.getElementById("PageOfficeCtrl1").HandDraw.ShowByUserName(null, false); // 隐藏所有的手写
	                    document.getElementById("PageOfficeCtrl1").HandDraw.ShowByUserName(userName); // 显示Tom的手写，第二个参数为true时可省略
	                }

            </script>
            <!--**************   卓正 PageOffice组件 ************************-->
            @Html.Raw(ViewBag.POCtrl)
        </div>
    </div>
</body>
</html>